<div class="layui-form-item">
  <label class="layui-form-label">{$value['desc']|default=''}</label>
  <div class="layui-input-block">
    <select name="{$value['name']|default=''}" class="layui-select" lay-search>
      <option value="">请选择</option>
      {foreach $value['option'] as $key=>$vo}
      {if $value['dimension']==1}
        {if $key==$value['value']}
          <option value="{$key}" selected>{$vo|raw}</option>
        {else}
          <option value="{$key}">{$vo|raw}</option>
        {/if}
      {else}
        {if $vo[$value['choice']]==$value['value']}
          <option value="{$vo[$value['choice']]}" selected>{$vo[$value['title']]|raw}</option>
        {else}
          <option value="{$vo[$value['choice']]}">{$vo[$value['title']]|raw}</option>
        {/if}
      {/if}
      {/foreach}
    </select>
    <tip>{$value['tagging']|default=''}</tip>
  </div>
</div>